/**
 * Created by Administrator on 2017/11/6.
 */
import common from './webpack.common';
const webpack = require("webpack");
const merge = require("webpack-merge");
const uglifyjsWebpackPlugin = require("uglifyjs-webpack-plugin");


module.exports = merge(common,{
    devtool:'source-map',
    plugin:[
        new uglifyjsWebpackPlugin(),
        new webpack.DefinePlugin({
            'process.env':{
                "NODE_ENV":JSON.stringify('production')
            }
        })
    ]
});
